import Vue from "vue";
import Vuex from "vuex";
import VuexAlong from "vuex-along";
import state from "@/vuex/state";
import mutations from "@/vuex/mutations";
import actions from "@/vuex/actions";
import getters from "@/vuex/getters";
Vue.use(Vuex);

export default new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
    plugins:[VuexAlong({
        name:"along",

        local:false,
        // 将数据存储到sessionStorage当中 浏览器关闭数据没有，刷新数据有
        session:{list:[],isFilter:true}
    })]
})